package com.czh.intelligentoj.model.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.util.Date;

/*
 * ClassName: QuestionSubmit
 * Package: com.czh.intelligentoj.model.entity
 * Description:
 * @Author: CZH
 * @Create: 2024
 */
@TableName("question_submit")
@Data
public class QuestionSubmit {
    /**
     * id
     */
    @TableId(type = IdType.ASSIGN_ID)
    private Long id;

    /**
     * 题目编程语言
     */
    private String proLanguage;

    /**
     * 题目
     */
    @TableField("title_code")
    private String titleCode;
    /**
     *
     */
    private String judgeInfo;
    /**
     * 提交状态
     */
    @TableField("title_status")
    private Integer titleStatus;
    /**
     * 题目id
     */
    @TableField("question_id")
    private Long questionId;
    /**
     * 提交用户的id
     */
    @TableField("user_id")
    private Long userId;
    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 更新时间
     */
    private Date updateTime;
    /**
     * 是否删除
     */
    @TableLogic
    private Integer isDelete;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}
